<template>
  <el-form
    ref="qmGenForm"
    :model="models"
    :rules="rules"
    label-width="100px"
    class="qm-gen-form"
    :disabled="disabled"
  >
    <el-row>
      <el-col :span="12">
        <el-form-item label="模块编号：" prop="model.moduleId">
          <el-input v-model="models.model.moduleId" />
        </el-form-item>
      </el-col>
      <el-col :span="12">
        <el-form-item label="用户编号：" prop="model.userId">
          <el-input v-model="models.model.userId" />
        </el-form-item>
      </el-col>
    </el-row>
    <el-row>
      <el-col :span="12">
        <el-form-item label="用户名称：" prop="model.userName">
          <el-input v-model="models.model.userName" />
        </el-form-item>
      </el-col>
      <el-col :span="12">
        <el-form-item label="浏览地址：" prop="model.path">
          <el-input v-model="models.model.path" />
        </el-form-item>
      </el-col>
    </el-row>
    <el-row>
      <el-col :span="12">
        <el-form-item label="浏览开始时间间：" prop="model.startTime">
          <el-input v-model="models.model.startTime" />
        </el-form-item>
      </el-col>
      <el-col :span="12">
        <el-form-item label="浏览结束时间：" prop="model.endTime">
          <el-input v-model="models.model.endTime" />
        </el-form-item>
      </el-col>
    </el-row>
    <el-row>
      <el-col :span="12">
        <el-form-item label="浏览时长：" prop="model.skimTime">
          <el-input v-model="models.model.skimTime" />
        </el-form-item>
      </el-col>
      <el-col :span="12">
        <el-form-item label="创建时间：" prop="model.createdDate">
          <el-input v-model="models.model.createdDate" />
        </el-form-item>
      </el-col>
    </el-row>
    <el-row>
      <el-col :span="12">
        <el-form-item label="创建人编号：" prop="model.createdUserId">
          <el-input v-model="models.model.createdUserId" />
        </el-form-item>
      </el-col>
      <el-col :span="12">
        <el-form-item label="创建人：" prop="model.createdUserName">
          <el-input v-model="models.model.createdUserName" />
        </el-form-item>
      </el-col>
    </el-row>
    <el-row>
      <el-col :span="12">
        <el-form-item label="更新时间：" prop="model.updatedDate">
          <el-input v-model="models.model.updatedDate" />
        </el-form-item>
      </el-col>
      <el-col :span="12">
        <el-form-item label="更新人ID：" prop="model.updatedUserId">
          <el-input v-model="models.model.updatedUserId" />
        </el-form-item>
      </el-col>
    </el-row>
    <el-row>
      <el-col :span="12">
        <el-form-item label="更新人：" prop="model.updatedUserName">
          <el-input v-model="models.model.updatedUserName" />
        </el-form-item>
      </el-col>
    </el-row>
  </el-form>
</template>

<script>
export default {
  name: 'MobileMobileModuleLogCreate',
  props: {
    models: Object,
    controlData: Object,
    pageAction: String,
    disabled: Boolean
  },
  data() {
    return {
      rules: {
        'model.moduleId': [
          {
            required: true,
            message: '这是必填字段',
            trigger: 'blur'
          }
        ],
        'model.userId': [
          {
            required: true,
            message: '这是必填字段',
            trigger: 'blur'
          }
        ],
        'model.userName': [
          {
            required: true,
            message: '这是必填字段',
            trigger: 'blur'
          }
        ],
        'model.path': [
          {
            required: true,
            message: '这是必填字段',
            trigger: 'blur'
          }
        ],
        'model.startTime': [
          {
            required: true,
            message: '这是必填字段',
            trigger: 'blur'
          }
        ],
        'model.endTime': [
          {
            required: true,
            message: '这是必填字段',
            trigger: 'blur'
          }
        ],
        'model.skimTime': [
          {
            required: true,
            message: '这是必填字段',
            trigger: 'blur'
          }
        ],
        'model.createdDate': [
          {
            required: true,
            message: '这是必填字段',
            trigger: 'blur'
          }
        ],
        'model.createdUserId': [
          {
            required: true,
            message: '这是必填字段',
            trigger: 'blur'
          }
        ],
        'model.createdUserName': [
          {
            required: true,
            message: '这是必填字段',
            trigger: 'blur'
          }
        ],
        'model.updatedDate': [
          {
            required: true,
            message: '这是必填字段',
            trigger: 'blur'
          }
        ],
        'model.updatedUserId': [
          {
            required: true,
            message: '这是必填字段',
            trigger: 'blur'
          }
        ],
        'model.updatedUserName': [
          {
            required: true,
            message: '这是必填字段',
            trigger: 'blur'
          }
        ]
      }
    }
  },
  methods: {}
}
</script>

<style scoped></style>
